package ru.irenproject;

import javax.inject.Inject;
import javax.inject.Singleton;

@Singleton public final class FormulationBriefFactory implements QuestionBriefFactory {
  @Inject FormulationBriefFactory() {}

  @Override public Brief create(Question question) {
    return PadBrief.create(((FormulationSupplier) question).formulation());
  }
}
